#ifndef QPROPERTYFORMVIEW_P_H
#define QPROPERTYFORMVIEW_P_H

// ONLY INCLUDE THIS IN .CPP FILES

#include "private/QPropertyFormWidget_p.h"

namespace QPE {

class QPropertyModel;
class QPropertySet;

class QPropertyFormViewPrivate : public QPropertyFormWidgetPrivate {
public:
	//! The current property model
	QPropertyModel* Model;

	//! The currently used property set
	QPropertySet* PropertySet;

	//! Determines whether the widget needs to be rebuild
	bool NeedsRebuild;

	//! Helper variable
	bool IgnoreDataChangedSignal;

	QPropertyFormViewPrivate()
		: QPropertyFormWidgetPrivate(), Model(NULL), PropertySet(NULL), NeedsRebuild(false) {}

	QPropertyFormViewPrivate(QPropertyModel* prop_model)
		: QPropertyFormWidgetPrivate(), Model(prop_model), PropertySet(NULL), NeedsRebuild(false) {}

	QPropertyFormViewPrivate(QPropertySet* prop_set)
		: QPropertyFormWidgetPrivate(), Model(NULL), PropertySet(prop_set), NeedsRebuild(false) {}
};

}

#endif // QPROPERTYFORMVIEW_P_H
